package com.alex.j2se.collection;

import java.util.Stack;

/**
 * 测试Stack
 * @author alex
 *
 */
public class StackTest {

	public static void main(String[] args) {
		Stack<String> stack = new Stack<String>();
		stack.push("abc");
		stack.push("def");
		stack.push("ghi");
		System.out.println(stack.pop());
		
	}
	
}
